package NotificationIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "NotificationIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class NotificationIRPPOATie
	extends NotificationIRPPOA
{
	private NotificationIRPOperations _delegate;

	private POA _poa;
	public NotificationIRPPOATie(NotificationIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public NotificationIRPPOATie(NotificationIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public NotificationIRPSystem.NotificationIRP _this()
	{
		return NotificationIRPSystem.NotificationIRPHelper.narrow(_this_object());
	}
	public NotificationIRPSystem.NotificationIRP _this(org.omg.CORBA.ORB orb)
	{
		return NotificationIRPSystem.NotificationIRPHelper.narrow(_this_object(orb));
	}
	public NotificationIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(NotificationIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public java.lang.String attach_push(java.lang.String manager_reference, int time_tick, java.lang.String[] notification_categories, ManagedGenericIRPConstDefs.StringOpt filter) throws NotificationIRPSystem.AlreadySubscribed,ManagedGenericIRPSystem.InvalidParameter,NotificationIRPSystem.Attach,NotificationIRPSystem.AtLeastOneNotificationCategoryNotSupported,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.attach_push(manager_reference,time_tick,notification_categories,filter);
	}

	public ManagedGenericIRPConstDefs.Method[] get_notification_irp_operations_profile(java.lang.String notification_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.GetNotificationIRPOperationsProfile
	{
		return _delegate.get_notification_irp_operations_profile(notification_irp_version);
	}

	public java.lang.String attach_pull(java.lang.String manager_reference, int time_tick, java.lang.String[] notification_categories, ManagedGenericIRPConstDefs.StringOpt filter, CosNotifyChannelAdmin.SequenceProxyPullSupplierHolder system_reference) throws NotificationIRPSystem.AlreadySubscribed,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.Attach,NotificationIRPSystem.AtLeastOneNotificationCategoryNotSupported,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.attach_pull(manager_reference,time_tick,notification_categories,filter,system_reference);
	}

	public java.lang.String attach_push_b(java.lang.String manager_reference, int time_tick, java.lang.String[] notification_categories, ManagedGenericIRPConstDefs.StringOpt filter, CosNotifyChannelAdmin.SequenceProxyPushSupplierHolder system_reference) throws NotificationIRPSystem.AlreadySubscribed,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.Attach,NotificationIRPSystem.AtLeastOneNotificationCategoryNotSupported,ManagedGenericIRPSystem.ParameterNotSupported
	{
		return _delegate.attach_push_b(manager_reference,time_tick,notification_categories,filter,system_reference);
	}

	public java.lang.String[] get_subscription_status(java.lang.String subscription_id, ManagedGenericIRPConstDefs.StringOptHolder filter_in_effect, NotificationIRPConstDefs.SubscriptionStateHolder subscription_state, org.omg.CORBA.IntHolder time_tick) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.GetSubscriptionStatus
	{
		return _delegate.get_subscription_status(subscription_id,filter_in_effect,subscription_state,time_tick);
	}

	public void change_subscription_filter(java.lang.String subscription_id, java.lang.String filter) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.ChangeSubscriptionFilter
	{
_delegate.change_subscription_filter(subscription_id,filter);
	}

	public void detach(java.lang.String manager_reference, java.lang.String subscription_id) throws ManagedGenericIRPSystem.InvalidParameter,NotificationIRPSystem.DetachException,ManagedGenericIRPSystem.ParameterNotSupported
	{
_delegate.detach(manager_reference,subscription_id);
	}

	public ManagedGenericIRPConstDefs.Method[] get_notification_irp_notification_profile(java.lang.String notification_irp_version) throws NotificationIRPSystem.GetNotificationIRPNotificationProfile,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.get_notification_irp_notification_profile(notification_irp_version);
	}

	public java.lang.String[] get_subscription_ids(java.lang.String manager_reference) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,NotificationIRPSystem.GetSubscriptionIds
	{
		return _delegate.get_subscription_ids(manager_reference);
	}

	public java.lang.String[] get_notification_irp_versions() throws NotificationIRPSystem.GetNotificationIRPVersions
	{
		return _delegate.get_notification_irp_versions();
	}

	public java.lang.String[] get_notification_categories(NotificationIRPConstDefs.NotificationTypesSetHolder notification_type_list) throws NotificationIRPSystem.GetNotificationCategories,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.get_notification_categories(notification_type_list);
	}

}
